import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store/store'
import MyAxios from './plugins/http'
import MyBread from './components/myBread/index.vue'
import moment from 'moment'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/css/rest.css";
Vue.use(ElementUI);
Vue.use(MyAxios)

Vue.config.productionTip = false
Vue.filter("fmtdate", (v) => {
  return moment(v).format('YYYY-MM-DD')
})

// 全局组件
Vue.component(MyBread.name, MyBread)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
